



import 'package:flutter/cupertino.dart';
import 'package:textfluttertimer/test_provider/text_list_select.dart';

class ListPersion extends ChangeNotifier {


  List<Person> myList = [];


  addList(List<Person> list){
    myList.addAll(list);
  }

  setIndexItem(int index,int count){
    myList[index].count = count;
    notifyListeners();
  }

}